<!DOCTYPE html>
<html lang="zh" xmlns:th="http://www.thymeleaf.org" >
<head>
    <th:block th:include="include :: header('新增换乘平均费用分析')" />
</head>
<body class="white-bg">
    <div class="wrapper wrapper-content animated fadeInRight ibox-content">
        <form class="form-horizontal m" id="form-AvgCost-add">
            <div class="form-group">    
                <label class="col-sm-3 control-label">客流指标：</label>
                <div class="col-sm-8">
                    <input name="flowtype" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">横坐标1：</label>
                <div class="col-sm-8">
                    <input name="sub" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">横坐标2：</label>
                <div class="col-sm-8">
                    <input name="bus" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">横坐标3：</label>
                <div class="col-sm-8">
                    <input name="brt" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">图示位置：</label>
                <div class="col-sm-8">
                    <input name="localid" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">图示类型：</label>
                <div class="col-sm-8">
                    <input name="typeid" class="form-control" type="text">
                </div>
            </div>
            <div class="form-group">    
                <label class="col-sm-3 control-label">算法总体数据：</label>
                <div class="col-sm-8">
                    <input name="diagid" class="form-control" type="text">
                </div>
            </div>
        </form>
    </div>
    <th:block th:include="include :: footer" />
    <script type="text/javascript">
        var prefix = ctx + "demo/AvgCost"
        $("#form-AvgCost-add").validate({
            focusCleanup: true
        });

        function submitHandler() {
            if ($.validate.form()) {
                $.operate.save(prefix + "/add", $('#form-AvgCost-add').serialize());
            }
        }
    </script>
</body>
</html>